<!DOCTYPE html>
<html style="overflow-x: hidden; overflow-y: scroll;" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="{obj('base/Base')->SEO('index_keywords')}" />
<meta name="description" content="{obj('base/Base')->SEO('index_dec')}" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta property="wb:webmaster" content="9404f82f9a6b0829">
<link rel="stylesheet" href="{__PUBLIC__}web/css/jquery-ui.css">
<link media="all" rel="stylesheet" type="text/css" href="{__PUBLIC__}web/css/style.css">	
<title>{$view['productName']}- {$view['mallName']} | {obj('base/Base')->SEO('index_title')}</title>
		<link media="all" rel="stylesheet" type="text/css" href="{__PUBLIC__}web/css/detailfix.css?v=201710191950" />
        
        {include file="app/index/view/index/devjs"}	
<script>browserRedirect("{url($route='index/m/view/id=<id>', $params=array('id'=>$view['id']))}");</script>
		</head>
	<body>
		<div id="wrapper">
			<div id="popuplayer"></div>
{include file="app/index/view/index/topheader"}	
    <div id="main">
            					<div class="clear"></div>
				<div class="mainleft" id="mainleft">
										<div class="areatitle"  >
						<a "" ><span class="blockstart"></span></a>
						<div class="dinfo">
							<span class="dinfotext" style="margin-left:3px;">{obj("api/Api")->mdate($view['date'])}</span>
																<span class="dinfotext">商城：{$view['mallName']}&nbsp;（<a class="dinfotextmall" href="{url($route='go/to/url/id=<id>', $params=array('id'=>$view['id']))}" target="_blank" title="点此查看全部{$view['mallName']}的折扣" >全部{$view['mallName']}的折扣</a>）</span>
																
														<span class="dinfotext">来源：{$view['mallName']}</span>
														<span class="dinfoweibo">
                                                        
                                                        
                                                        </span>
						</div>
					</div>
										<div class="detaildisplay">

												<div class="dtitle" style="width: 700px">
																			<?php
         preg_match_all('/￥[1-9]\d*/', $view['productName'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $view['productName'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $view['productName'], $keyword);
         }
         
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$view['productName'])
         
         ?>							
						</div>
						
						<a isconvert="1" class="dtitlegotobuy" onmousedown="xlog('{$view['id']}','detailtitlebuy')" href="{url($route='go/to/url/id=<id>', $params=array('id'=>$view['id']))}" target="_blank">
							<span class="dtitlegotobuyword">直达链接&nbsp;&gt;</span>
						</a>
												<div class="clear"></div>
																		<div class="clear"></div>
												<div class="clear"></div>
												<div class="dabstract" id="dabstract">
												<div class="mdbcontent"><img src="{$view['imgUrl']}" width="600" height="600" alt="{$view['productName']}" style="margin-right:0px;margin-left:0px;margin-top:0px;margin-bottom:0px"/></div>
														<div class="mdbcontent">{$view['content']}</div></div>
							
												<div class="clear"></div>
												<!--<div class="dabstract"></div>
						<div class="clear"></div>-->
												<!--<div class="dabstract" id="dbottomad"></div>
							<div class="clear"></div>-->
												<!--<div class="dabstract" id="dbottomad"></div>
							<div class="clear"></div>-->
												<div class="clear"></div>
						



												<a class="dgotobutton" isconvert="1" id="dgotobutton" onmousedown="xlog('{$view['id']}','detailbtn')" href="{url($route='go/to/url/id=<id>', $params=array('id'=>$view['id']))}" target="_blank"><span class="dgotobuttonword">前往购买»</span></a>
												
														<div class="clear"></div>
								<div class="dhotnotice">
									<span style="margin-left:10px;"><b>温馨提示：</b>热门榜单由用户点击自动生成，有一定滞后性。如遇商品无货或涨价，敬请谅解。欢迎到首页关注最新折扣！</span>
								</div>
													</div>
					<div class="areatitle" style="margin-top:20px;"><span class="blockstart"></span><span class="areatitleword">热门推荐</span></div>
<div class="detaildisplay">
{foreach $tret as $vo}
            <a class="drelated" href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="_hmt.push(['_trackEvent', 'drelated', '{$view['productName']}'])">
            <div class="drelatedimg">
                <img src="{$vo['imgUrl']}" width="50" height="50" alt="{$view['productName']}" style="margin-right:0px;margin-left:0px;margin-top:0px;margin-bottom:0px"/>
            </div>
            <div class="drelatedword">
            <?php
         preg_match_all('/￥[1-9]\d*/', $vo['productName'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $vo['productName'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $vo['productName'], $keyword);
         }
         
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$vo['productName'])
         
         ?>	   </div>
            <div class="drelatedarrow"></div>
        </a>
        <div class="clear"></div>
        {/foreach}
           
    </div>
<div class="areatitle" style="margin-top:20px;"><span class="blockstart"></span><span class="areatitleword">{$view['mallName']}的其它热门商品</span></div>
<div class="detaildisplay">
{foreach $malltret as $vo}
            <a class="drelated" href="{url($route='index/view/index/id=<id>', $params=array('id'=>$vo['id']))}" target="_blank" onmousedown="_hmt.push(['_trackEvent', 'mrelated', '{$vo['productName']}'])">
            <div class="drelatedimg">
                <img src="{$vo['imgUrl']}" width="50" height="50" alt="{$vo['productName']}" style="margin-right:0px;margin-left:0px;margin-top:0px;margin-bottom:0px"/>
            </div>
            <div class="drelatedword">
             <?php
         preg_match_all('/￥[1-9]\d*/', $vo['productName'], $keyword);
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*.[1-9]\d*元/',  $vo['productName'], $keyword);
         }
         if(empty($keyword['0']['0'])){
         preg_match_all('/[1-9]\d*元/', $vo['productName'], $keyword);
         }
         
         echo str_replace($keyword['0']['0'],"<font class='emphricepart'>".$keyword['0']['0']."</font>",$vo['productName'])
         
         ?>	     </div>
            <div class="drelatedarrow"></div>
        </a>
{/foreach}

    </div>
				</div>
				<div class="mainright" id="mainright">
			

<div class="clear"></div>
{include file="app/index/view/index/list"}
</div>	<div class="clear"></div>	
</div>


{include file="app/index/view/index/viewfooter"}
{include file="app/index/view/index/footerjs"}
	    </body>
</html>

